package com.mohe.shanpao.service.user;

import com.mohe.shanpao.service.GenericService;
import com.mohe.shanpao.domain.user.SysUser;

public interface SysUserService extends GenericService<SysUser>
{
    /**
     * 根据id获取对象
     */
    SysUser selectById(Long id);
    
    /**
     * 获取用户权限
     * userId 用户id
     */
    SysUser getUserMenus(Long userId);
    
    /**
     * 根据用户名查询功能
     * @param username
     * @return
     * @see [类、类#方法、类#成员]
     */
    SysUser selectUser(String username);
}